package com.woniuxy.exam.service;

import com.woniuxy.exam.dto.OrdersDto;
import com.woniuxy.exam.entity.Orders;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.data.domain.jaxb.SpringDataJaxb;

import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Lzj
 * @since 2023-10-31
 */
public interface IOrdersService extends IService<Orders> {

    double calculateTotalPrice(int userId, int movieId, int quantity);

    List<OrdersDto> findAll();
    List<OrdersDto> queryALL();

}
